﻿var DialogForm_Size = new Array();
function DialogForm_GetWidth(formName) {

    return DialogForm_Size[formName][0];
}
function DialogForm_GetHeight(formName) {
    return DialogForm_Size[formName][1];
}
function DialogForm_SetSize(formName, width, heigth) {
    DialogForm_Size[formName] = [width, heigth];
}

// test
DialogForm_SetSize("OfficeEdit", 300, 200);
DialogForm_SetSize("UserEdit", 300, 120);
DialogForm_SetSize("ServiceGroupEdit", 300, 120);
